package com.spic.business.violation.supervision.action.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.spic.business.common.core.workflow.WorkFlowEntity;
import com.spic.common.core.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 违章行为录入对象 violation_action_input
 *
 * @author spic
 * @date 2021-12-07
 */
public class ViolationActionInput extends WorkFlowEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 部门ID(部门权限过滤字段) */
    @Excel(name = "部门ID(部门权限过滤字段)")
    private Long deptId;

    /** 违章类型 */
    @Excel(name = "违章类型")
    private String illegalType;

    /** 违章分级 */
    @Excel(name = "违章分级")
    private String illegalGrade;

    /** 违章分类 */
    @Excel(name = "违章分类")
    private String illegalClassify;

    /** 检查部门 */
    @Excel(name = "检查部门")
    private Long checkDept;

    /** 违章地点 */
    @Excel(name = "违章地点")
    private String illegalArea;

    /** 违章时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "违章时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date illegalTime;

    /** 违章部门 */
    @Excel(name = "违章部门")
    private Long illegalDept;

    /** 违章人员 */
    @Excel(name = "违章人员")
    private String illegalMan;

    /** 检查时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "检查时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date checkTime;

    /** 处罚依据 */
    private String punishJustify;

    /** 下达部门 */
    @Excel(name = "下达部门")
    private String deliverDept;

    /** 处罚金额 */
    @Excel(name = "处罚金额")
    private BigDecimal punishAmount;

    /** 违章描述 */
    private String illegalDesc;

    /** 违章图片 */
    private String illegalImages;

    /** 是否申诉 */
    @Excel(name = "是否申诉")
    private String isComplain;

    @Excel(name = "申诉理由")
    private String complainContent;

    /** 整改描述 */
    private String rectifyDesc;

    /** 安环部主任 */
    @TableField(exist = false)
    private String director;

    /** 扣除分数 */
    private Long deduction;

    /** 员工部门:,B本部门;Q其他部门;C承包商 */
    private String department;

    /** 罚单文件路径 */
    private String fileUrl;

    /** 违章图片url illegal_images_mark*/
    private String illegalImagesMark;

    /****罚单文件路径****/
    private String ticketFilePath;

    public String getIllegalImagesMark() {
        return illegalImagesMark;
    }

    public void setIllegalImagesMark(String illegalImagesMark) {
        this.illegalImagesMark = illegalImagesMark;
    }

    public String getComplainContent() {
        return complainContent;
    }

    public void setComplainContent(String complainContent) {
        this.complainContent = complainContent;
    }

    public String getDirector() {
        return director;
    }

    public void setDirector(String director) {
        this.director = director;
    }

    public Long getDeduction() {
        return deduction;
    }

    public void setDeduction(Long deduction) {
        this.deduction = deduction;
    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }

    public String getFileUrl() {
        return fileUrl;
    }

    public void setFileUrl(String fileUrl) {
        this.fileUrl = fileUrl;
    }

    private Integer needTrain;

    public Integer getNeedTrain() {
        return needTrain;
    }

    public void setNeedTrain(Integer needTrain) {
        this.needTrain = needTrain;
    }

    /** 整改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "整改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date reciifyTime;

    /** 整改图片 */
    @Excel(name = "整改图片")
    private String reciifyImages;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setDeptId(Long deptId)
    {
        this.deptId = deptId;
    }

    public Long getDeptId()
    {
        return deptId;
    }
    public void setIllegalType(String illegalType)
    {
        this.illegalType = illegalType;
    }

    public String getIllegalType()
    {
        return illegalType;
    }
    public void setIllegalGrade(String illegalGrade)
    {
        this.illegalGrade = illegalGrade;
    }

    public String getIllegalGrade()
    {
        return illegalGrade;
    }
    public void setIllegalClassify(String illegalClassify)
    {
        this.illegalClassify = illegalClassify;
    }

    public String getIllegalClassify()
    {
        return illegalClassify;
    }
    public void setCheckDept(Long checkDept)
    {
        this.checkDept = checkDept;
    }

    public Long getCheckDept()
    {
        return checkDept;
    }
    public void setIllegalArea(String illegalArea)
    {
        this.illegalArea = illegalArea;
    }

    public String getIllegalArea()
    {
        return illegalArea;
    }
    public void setIllegalTime(Date illegalTime)
    {
        this.illegalTime = illegalTime;
    }

    public Date getIllegalTime()
    {
        return illegalTime;
    }
    public void setIllegalDept(Long illegalDept)
    {
        this.illegalDept = illegalDept;
    }

    public Long getIllegalDept()
    {
        return illegalDept;
    }
    public void setIllegalMan(String illegalMan)
    {
        this.illegalMan = illegalMan;
    }

    public String getIllegalMan()
    {
        return illegalMan;
    }
    public void setCheckTime(Date checkTime)
    {
        this.checkTime = checkTime;
    }

    public Date getCheckTime()
    {
        return checkTime;
    }
    public void setPunishJustify(String punishJustify)
    {
        this.punishJustify = punishJustify;
    }

    public String getPunishJustify()
    {
        return punishJustify;
    }
    public void setDeliverDept(String deliverDept)
    {
        this.deliverDept = deliverDept;
    }

    public String getDeliverDept()
    {
        return deliverDept;
    }
    public void setPunishAmount(BigDecimal punishAmount)
    {
        this.punishAmount = punishAmount;
    }

    public BigDecimal getPunishAmount()
    {
        return punishAmount;
    }
    public void setIllegalDesc(String illegalDesc)
    {
        this.illegalDesc = illegalDesc;
    }

    public String getIllegalDesc()
    {
        return illegalDesc;
    }
    public void setIllegalImages(String illegalImages)
    {
        this.illegalImages = illegalImages;
    }

    public String getIllegalImages()
    {
        return illegalImages;
    }
    public void setIsComplain(String isComplain)
    {
        this.isComplain = isComplain;
    }

    public String getIsComplain()
    {
        return isComplain;
    }
    public void setRectifyDesc(String rectifyDesc)
    {
        this.rectifyDesc = rectifyDesc;
    }

    public String getRectifyDesc()
    {
        return rectifyDesc;
    }
    public void setReciifyTime(Date reciifyTime)
    {
        this.reciifyTime = reciifyTime;
    }

    public Date getReciifyTime()
    {
        return reciifyTime;
    }
    public void setReciifyImages(String reciifyImages)
    {
        this.reciifyImages = reciifyImages;
    }

    public String getReciifyImages()
    {
        return reciifyImages;
    }

    public String getTicketFilePath() {
        return ticketFilePath;
    }

    public void setTicketFilePath(String ticketFilePath) {
        this.ticketFilePath = ticketFilePath;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("deptId", getDeptId())
            .append("illegalType", getIllegalType())
            .append("illegalGrade", getIllegalGrade())
            .append("illegalClassify", getIllegalClassify())
            .append("checkDept", getCheckDept())
            .append("illegalArea", getIllegalArea())
            .append("illegalTime", getIllegalTime())
            .append("illegalDept", getIllegalDept())
            .append("illegalMan", getIllegalMan())
            .append("checkTime", getCheckTime())
            .append("punishJustify", getPunishJustify())
            .append("deliverDept", getDeliverDept())
            .append("punishAmount", getPunishAmount())
            .append("illegalDesc", getIllegalDesc())
            .append("illegalImages", getIllegalImages())
            .append("isComplain", getIsComplain())
            .append("rectifyDesc", getRectifyDesc())
            .append("reciifyTime", getReciifyTime())
            .append("reciifyImages", getReciifyImages())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
